package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryString;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Member;
import com.itheima.pojo.ReserveOrder;

import java.util.Date;
import java.util.Map;

public interface ReserveOrderDao {
    Page<ReserveOrder> findByCondition(QueryString queryString);

    void addMember(Member member);

    ReserveOrder findById(Integer id);

    Integer findByIdAndMemberId(Integer id);

    void editMember(Map map);

    void editOrder(Map map);

    void delete(Integer id);

    void addOrderStatus(ReserveOrder reserveOrder);
}
